package com.graden.background.repository.sysmenu.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 系统菜单类
 * </p>
 *
 * @author zjf
 * @since 2019-03-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;

    /**
     * 父ID，第一级为0
     */
    private Integer parentId;

    /**
     * 菜单名称
     */
    private String name;

    /**
     *  是否展示到菜单列表
     */
    private Boolean isShow;


}
